Solving x^x=2 using Lambert W function